<?php

/* @var $this \yii\web\View */
/* @var $content string */

use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use frontend\assets\AppAsset;
use common\widgets\Alert;
use common\models\Setting\Setting;



?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta content="yes" name="apple-mobile-web-app-capable"><!-- 这meta的作用就是删除默认的苹果工具栏和菜单栏允许全屏模式浏览-->
    <meta name="apple-touch-fullscreen" content="yes"><!-- 开启对web app程序的支持  -->
    <meta content="telephone=no,email=no" name="format-detection"><!-- iPhone会自动把你这个文字加链接样式、并且点击这个数字还会自动拨号！telephone=no就忽略页面中的数字识别为电话号码 ,email=no 忽略识别邮箱 -->
    <!--base css-->
    <!--<meta content="yes" name="apple-mobile-web-app-capable">-->
    <script>
        window.scrollTo(0, 0);
    </script>
    <!--<meta content="yes" name="apple-mobile-web-app-capable"> end-->
      <?= Html::cssFile('@web/css/reset.css')?>
    <?= Html::cssFile('@web/css/index.css')?>
    <?= Html::cssFile('@web/css/swiper.min.css')?>
    <script type="text/javascript" src="<?= yii::getAlias('@web');?>/js/reset.js"></script>
    <script type="text/javascript" src="<?= yii::getAlias('@web');?>/js/jquery-1.9.1.min.js"></script>

    <script type="text/javascript" src="<?= yii::getAlias('@web');?>/js/zepto.min.js"></script>
    <script type="text/javascript" src="<?= yii::getAlias('@web');?>/js/swiper.min.js"></script>
    <script type="text/javascript" src="<?= yii::getAlias('@web');?>/js/TouchSlide.js"></script>

    <title><?= Html::encode($this->title) ?></title>
    <style>
        .sear .swiper-slide{
            width: auto;
        }
        .sear .swiper-button-prev, .sear .swiper-container-rtl .swiper-button-next{
            left: -0.027rem;
        }
        .sear .swiper-button-next, .sear .swiper-container-rtl .swiper-button-prev{
            right: -0.027rem;
        }
        
    </style>

</head>
<body>
<?php $this->beginBody() ?>
    <?= $this->render('header.php'); ?>
    <?= $this->render('content.php',['content'=>$content]); ?>
    <?= $this->render('nomal_bottom.php'); ?>
<?php $this->endBody() ?>
</body>
        <?php if (isset($this->blocks['footer_scripts'])): ?>
        <?= $this->blocks['footer_scripts'] ?>
        <?php endif; ?>
</html>
<?php $this->endPage() ?>
